<template>
  <div class="header">
    <div class="logo">
      <a href="https:#"><img src="../../assets/img/login.png" alt="" /></a>
    </div>
    <div class="header-title">
      <h2>
        <!-- 具名插槽 -->
        <slot name="head"></slot>
      </h2>
    </div>
    <div class="header-tip">
      <p>
        <!-- 具名插槽 -->
        <slot name="tip"></slot>
      </p>
    </div>
  </div>
</template>

<style scoped>
@import url("../../assets/css/font_4367545_5vuckvup5pp/iconfont.css");

.header {
  display: flex;
  /* justify-content: space-around; */
  justify-self: start;
  align-items: center;
  width: 100%;
  height: 101px;
  background: #fff;
  border-bottom: 2px solid #FF7833;
}

.logo {
  width: 150px;
  text-align: right;
}

.header-title {
  width: 200px;
  margin-left: 30px;
  line-height: 48px;
  font-size: 14px;
  font-weight: bold;
  color: #424242;
}

.header-tip {
  width: 500px;
  margin-left: -70px;
  font-size: 10px;
  color: #757575;
  line-height: 101px;
}

.header .logo a img {
  width: 80px;
  height: 80px;
  overflow: hidden;
}
</style>